package com.dto;

import lombok.Data;

@Data
public class UserDto {

    private int id;

    private String name;

    private int deptId;

    public UserDto() {
    }

    public UserDto(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public UserDto(String name) {
        this.name = name;
    }

    public UserDto(String name, int deptId) {
        this.name = name;
        this.deptId = deptId;
    }
}
